home *** CD-ROM | disk | FTP | other *** search
- #include<hold/anim.h>
-
- /* 000 */ void for_control(void){
- /* 001 */ int count = 0;
- /* 002 */ int j = 0;
-
- a_func("for_control",0);
- a_intini(count,"count",1);
- a_intini(j,"j",2);
- a_intass("count","0",3);
- a_intcomp("count<3",3);
- /* 003 */ for(count=0;count<3;count++){
- /* 004 */ j = count;
- a_intass("j","count",4);
- a_intass("count","count+1",3);
- a_intcomp("count<3",3);
- /* 005 */ }
- a_intass("count","3",6);
- a_intcomp("count==0",6);
- /* 006 */ for(count=3;count==0;count--){
- /* 007 */ j = count;
- a_intass("j","count",7);
- a_intass("count","count-1",6);
- a_intcomp("count==0",6);
- /* 008 */ }
- a_intass("count","3",9);
- a_intcomp("count>0",9);
- /* 009 */ for(count=3;count>0;count--){
- /* 010 */ j = count;
- a_intass("j","count",10);
- a_intass("count","count-1",9);
- a_intcomp("count>0",9);
- /* 011 */ }
- a_endfunc("for_control",12);
- /* 012 */ }
-